import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
	flockName: '全球最搞笑的话题',
    users: [
      {
        name: "看谁笑到最后",
        image:
          "https://img2.baidu.com/it/u=2421505363,3507499484&fm=26&fmt=auto&gp=0.jpg",
      },
      {
        name: "追梦抓梦",
        image:
          "https://img2.baidu.com/it/u=325567737,3478266281&fm=26&fmt=auto&gp=0.jpg",
      },
      {
        name: "仰望辉煌",
        image:
          "https://img1.baidu.com/it/u=2416716098,3118461540&fm=26&fmt=auto&gp=0.jpg",
      },
      {
        name: "仰望辉煌",
        image:
          "https://img1.baidu.com/it/u=2416716098,3118461540&fm=26&fmt=auto&gp=0.jpg",
      },
      {
        name: "仰望辉煌",
        image:
          "https://img1.baidu.com/it/u=2416716098,3118461540&fm=26&fmt=auto&gp=0.jpg",
      },
      {
        name: "仰望辉煌",
        image:
          "https://img1.baidu.com/it/u=2416716098,3118461540&fm=26&fmt=auto&gp=0.jpg",
      },
      {
        name: "仰望辉煌",
        image:
          "https://img1.baidu.com/it/u=2416716098,3118461540&fm=26&fmt=auto&gp=0.jpg",
      }
    ],
	// 用户数据
	user: {
		// 用户权限等级（1=普通，2=高级，3=钻石）
		power: 2
	},
	// 会员信息
	memberData:[
		{
			id: 0,
			headerImg: require('../assets/img/55.jpg'),
			name: '小芳',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 1,
			headerImg: require('../assets/img/55.jpg'),
			name: '小明',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 2,
			headerImg: require('../assets/img/55.jpg'),
			name: '小兰',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 3,
			headerImg: require('../assets/img/55.jpg'),
			name: '小鹿',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 4,
			headerImg: require('../assets/img/55.jpg'),
			name: '小敏',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 5,
			headerImg: require('../assets/img/55.jpg'),
			name: '小倩',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 6,
			headerImg: require('../assets/img/55.jpg'),
			name: '婷婷',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 7,
			headerImg: require('../assets/img/55.jpg'),
			name: '小美',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 8,
			headerImg: require('../assets/img/55.jpg'),
			name: '小冉',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 9,
			headerImg: require('../assets/img/55.jpg'),
			name: '小周',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 10,
			headerImg: require('../assets/img/55.jpg'),
			name: '小慧',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		},
		{
			id: 11,
			headerImg: require('../assets/img/55.jpg'),
			name: '小莹',
			age: 26,
			height: 163,
			income: '7000—10000',
			xueli: '本科',  // 学历
			label: ['身材苗条', '旅游', '文艺']
		}
	]
  },
  mutations: {
    mutationsFlockName(state, name) {
      return (state.flockName = name)
    }
  },
  actions: {
  },
  modules: {
  }
})

